﻿using SqlSugar;

namespace Shop.Model.DB
{
    [SugarTable("Goods_Spec")]
    public class DBGoodsSpec
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public long GoodsId { get; set; }
        /// <summary>
        /// 规格组ID
        /// </summary>
        public long GroupId { get; set; }

        /// <summary>
        /// 规格名
        /// </summary>
        public string SpecName { get; set; }

        /// <summary>
        /// 规格图片
        /// </summary>
        public string SpecIcon { get; set; }
        /// <summary>
        /// 排序位
        /// </summary>
        public int Sort { get; set; }
    }
}
